package com.weishu.house.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishu.house.entity.CwPaymentPlan;
import com.weishu.house.entity.SfContract;
import com.weishu.house.entity.SfFinalStatementDetail;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class SfContractModel extends SfContract {

   //
   private List<CwPaymentPlan> cwPaymentPlanList;

   @DateTimeFormat(pattern = "yyyy-MM-dd")
   @JsonFormat(pattern = "yyyy-MM-dd")
   private Date wyjgDate;

   //应退租金
   private BigDecimal altogetherRent;

   //应收
   private List<SfFinalStatementDetail> receivable;

   //应退
   private List<SfFinalStatementDetail> shouldRetire;
}
